package com.ximu.order.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @projectName: HongSai_service
 * @package: com.ximu.order.vo
 * @className: OrderVo
 * @author: ximu
 * @description: .
 * @date: 2023/3/18 19:02
 * @version: 1.0
 */

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderVo对象", description="")
public class OrderVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "车辆id")
    private Integer carId;

    @ApiModelProperty(value = "车牌号")
    private String carNum;

    @ApiModelProperty(value = "0未支付，1成功")
    private Integer orderState;

    @ApiModelProperty(value = "订单时间")
    private Date orderDate;

    @ApiModelProperty(value = "支付金额")
    private Integer paySum;

    @ApiModelProperty(value = "支付时间")
    private Date payDate;



}
